import request from "@/utils/request"
const BASE_URL = process.env.VUE_APP_BASE_URL_WORK

/**
 * 回收站彻底删除
 * @param {*} data
 */
export function workTrashDeleteAPI(taskId) {
	return request({
		url: BASE_URL + `workTask/deleteTask/${taskId}`,
		method: "post"
	})
}

/**
 * 回收站恢复
 * @param {*} data
 */
export function workTrashRecoverAPI(taskId) {
	return request({
		url: BASE_URL + `workTask/restore/${taskId}`,
		method: "post"
	})
}
